package com.example.dao;

import com.example.base.BaseCrudDao;
import com.example.entity.Book;
import org.apache.ibatis.annotations.Param;

public interface BookDao extends BaseCrudDao<Book> {

    /**
     * 根据书名和出版社查询（完全匹配）
     */
    Book selectByNameAndPublisher(@Param("bookName") String bookName, @Param("bookPublisher") String bookPublisher);

}
